package cn.aresoft.framework.exception;


public class BaseException extends Exception 
{
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -6569043119494712083L;
	private String errorCode;
		
	public BaseException(){
		super("ERR_UNKNOWN");
	}
    public BaseException(String errorCode){
        super(errorCode);
        this.errorCode = errorCode;
    }
    
    public BaseException(String errorCode, Throwable e){
        super(errorCode,e);
        this.errorCode = errorCode;
    }
    
    public String getErrorCode() {
		return errorCode;
	}
	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}
}
